package com.jt.controller;

import com.jt.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/axios")
@CrossOrigin
public class AxiosController {

    @PostMapping("/saveUser")
    public User saveUser(@RequestBody User user){
        return user;
    }

}
